﻿/*
 * File:            DockStyle.cs
 * Last changed:    27-08-2011
 * Purpose:         Specifies the position and manner in which a control is docked.
 * Author:          Lars Diederich
 * Copyright:       (C) L.Diederich 2011
 * Product:         UnifyGUI
 * 
 * Copyright (c) 2011 Lars Diederich
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 
 * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 
 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 
 * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 * 
 */


namespace UnifyGUI
{
    /// <summary>
    /// Specifies the position and manner in which a control is docked.
    /// </summary>
    public enum DockStyle
    {
        /// <summary>
        /// The control's bottom edge is docked to the bottom of its containing control.
        /// </summary>
        Bottom,
        /// <summary>
        /// All the control's edges are docked to the all edges of its containing control and sized appropriately.
        /// </summary>
        Fill,
        /// <summary>
        /// The control's left edge is docked to the left edge of its containing control.
        /// </summary>
        Left,
        /// <summary>
        /// The control is not docked.
        /// </summary>
        None,
        /// <summary>
        /// The control's right edge is docked to the right edge of its containing control.
        /// </summary>
        Right,
        /// <summary>
        /// The control's top edge is docked to the top of its containing control.
        /// </summary>
        Top
    }
}
